package com.atguigu.service;

import com.atguigu.entity.User;

import java.util.List;

public interface UserService {
    //login方法
    User getUserInfoByName(String name);

    //根据用户查询角色信息
    List<String> getUserRoleInfo(String principal);

    //获取用户角色权限信息
    List<String> getUserPermissionInfo(List<String> roles);


}
